package com.zjy.software.day7;

public   class Teacher extends Person {
    private   String address;
    @Override
    public void run() {
        System.out.println("老师在跑步");
    }

    public static void main(String[] args) {
        Teacher teacher=new Teacher();
        teacher.work();
    }

    @Override
    public void execute() {
        System.out.println("Teacher.execute");
    }
}